import 'package:flutter/material.dart';

/* 主题列表 */
const Map themeColor = {
  "green": {
    //green
    "primaryColor": Color(0xff4caf50),
    "primaryColorDark": Color(0xff388E3C),
    "colorAccent": Color(0xff8BC34A),
    "primaryColorLight": Color(0xffC8E6C9),
  },
  "red": {
    //red
    "primaryColor": Color(0xffF44336),
    "primaryColorDark": Color(0xffD32F2F),
    "colorAccent": Color(0xffFF5252),
    "primaryColorLight": Color(0xffFFCDD2),
  },
  "blue": {
    //blue
    "primaryColor": Color(0xff2196F3),
    "primaryColorDark": Color(0xff1976D2),
    "colorAccent": Color(0xff448AFF),
    "primaryColorLight": Color(0xffBBDEFB),
  },
  "pink": {
    //pink
    "primaryColor": Color(0xffE91E63),
    "primaryColorDark": Color(0xffC2185B),
    "colorAccent": Color(0xffFF4081),
    "primaryColorLight": Color(0xffF8BBD0),
  },
  "purple": {
    //purple
    "primaryColor": Color(0xff673AB7),
    "primaryColorDark": Color(0xff512DA8),
    "colorAccent": Color(0xff7C4DFF),
    "primaryColorLight": Color(0xffD1C4E9),
  },
  "grey": {
    //grey
    "primaryColor": Color(0xff9E9E9E),
    "primaryColorDark": Color(0xff616161),
    "colorAccent": Color(0xff9E9E9E),
    "primaryColorLight": Color(0xffF5F5F5),
  },
  "black": {
    //black
    "primaryColor": Color(0xff333333),
    "primaryColorDark": Color(0xff000000),
    "colorAccent": Color(0xff666666),
    "primaryColorLight": Color(0xff999999),
  },
};

Map<String, Color> themeColorMap = {
  'gray': Colors.grey,
  'blue': Colors.blue,
  'blueAccent': Colors.blueAccent,
  'cyan': Colors.cyan,
  'deepPurple': Colors.purple,
  'deepPurpleAccent': Colors.deepPurpleAccent,
  'deepOrange': Colors.orange,
  'green': Colors.green,
  'indigo': Colors.indigo,
  'indigoAccent': Colors.indigoAccent,
  'orange': Colors.orange,
  'purple': Colors.purple,
  'pink': Colors.pink,
  'red': Colors.red,
  'teal': Colors.teal,
  'black': Colors.black,
};
